package excercise;

import java.util.Scanner;

public class EX05_Q44 {

	
	public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	int[] t = new int[4];
	
	for ( int a = 1; a <=3; ++a ){
		System.out.println( "Please enter three number" );
		t[a] = sc.nextInt();
			
	}
	
	System.out.println( "Your numbers forward");
	for ( int a = 1; a <=3; ++a ) {
		System.out.println( t[a] );
	}

	System.out.println( "Your numbers forward");
	
	for ( int a = 3; a >=1; --a ) {
		System.out.println( t[a] );
	}

		
		
		
		
	} // main
	

} // class
